CC=g++

.PHONY:all

all: UdpClient UdpServer

UdpClient:UdpClient.cc
	$(CC) -o $@ $^ -lpthread -std=c++11

UdpServer:main.cc
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -f UdpClient UdpServer